Branch Commit iCube enables project executives to keep track of the code changes. Important factors such as the number of commits being made per commit day, total number of branches to which commits were made, number of projects to which code was submitted, and so on can be analyzed. Project Executives can gain insights into the value generated by a development team in a sprint, and also analyze metrics to understand team compliance with branch maintenance practices.
Note: This iCube supports Bitbucket and GitLab source system.
Attribute | Description |
---|---|
Branch Deleted Flag | Flag to indicate if the branch had ever been deleted |
Branch ID | Unique ID of the branch |
Branch Name | Name of the branch on which code commit is initiated |
Branch Type | Type of branch on which code commit is initiated |
Calendar Date | Gregorian calendar date displayed in the format 'M/D/YYYY' |
Calendar Month | Gregorian calendar month displayed in the format 'Mon YYYY' |
Calendar Quarter |
Gregorian calendar quarter displayed in the format 'Q# YYYY' |
Calendar Week | Gregorian calendar week displaying the week number. For example, W21, W22. |
Calendar Year | Gregorian calendar year displayed in the format YYYY |
Commit ID | Unique ID auto generated for every commit |
Commit Message | Message to briefly describe what was committed |
Committed By | The person who made the commit |
Committed On | The date on which code commit was made |
Day of Month | Day of the month between 1 and 31 |
Day of Week | Day of the week |
Day of Year | Day of the year between 1 to 366 |
Employee | Name of the developer who committed the code |
Lagging Count of Days | Count of number of days since the first data record till current day |
Lagging Count of Months | Count of number of months since the first data record till the current month |
Lagging Count of Quarters | Count of number of quarters since the first data record till the current quarter |
Lagging Count of Weeks | Count of number of weeks since the first data record till the current week |
Lagging Count of Years | Count of number of years since the first data record till the current year |
Merge Commit Flag | Flag to indicate if the code has been merged to the main branch |
Project Name | Name of the project to which the code commits are being made |
Repository Name | Name of the repository which holds the code |
Metric | Description | Formula/Condition | Expected Value |
---|---|---|---|
# of Code Commits | Number of code commits across a branch, project, or repository | (Count<Distinct=True , FactID=[No of Commits] , >([No of Commits]))<[Merge commit Flag=N] | >=0 |
# of Commit Branches | Total number of branches to which code was committed | Count<Distinct=True , FactID=[No of Commit Branches] >([No of Commit Branches]) | >=0 |
# of Commit Projects | Number of projects to which code was committed | Count<Distinct=True , FactID=[No of Commits] >([SCM Project]) | >=0 |
# of Commit Repository | Number of repositories to which code was committed | (Count<Distinct=True , FactID=[No of Commits] >(Repository)) | >=0 |
# of Commits | Number of commits across a branch, project, or repository | (Count<Distinct=True , >([No of Commits])) | >=0 |
# of Merge Commits | Number of merge commits initiated to merge code into the main repository | (Count<Distinct=True , FactID=[No of Commits] , >([No of Commits]))<[Merge commit Flag=Y] | >=0 |
# of Open Commit Branches | Number of active branches | (Count<Distinct=True >([No of Commit Branches]))<[branch_deleted_flag=N] | >=0 |
Avg Branch Age (Days) | Average duration for which the branch is actively available for commits | ([Branch Age (Days) {Branch}] / [No of Commit Branches]) | >=0 |
Avg Commits per Commit Day | Average number of unique commits by developers for each day when a commit was made | Number of Commits/ Total Commit Days | >=0.00 |
Avg Time to First Commit (Days) | Average Duration between the branch created date and the first commit in the branch | ([Time to First Commit (Days) {Branch}] / [No of Commit Branches]) | >=0 |
Commit Days | Any day when a developer contributed code to the dev branch of the repository | Count (Distinct Commit Date) | >=0 |
© 2022 Digital.ai Inc. All rights reserved.